package top.dingwen.io.treasure.api.base.request;

import lombok.Getter;
import lombok.Setter;
import top.dingwen.io.treasure.api.base.constant.ApiConstant;

import java.util.Map;

/**
 * PageRequest : 分页统一外部入参
 * <p>对外RPC</p>
 *
 * @author dingwen
 * @since 2024/10/22 15:15
 */
@SuppressWarnings(ApiConstant.ALL)
@Getter
@Setter
public class PageRequest implements IBaseRequest {

    /**
     * 参数
     */
    private Map<String, Object> params;

    /**
     * 每页显示记录数
     */
    private Integer pageSize;

    /**
     * 页码
     */
    private Integer pageNum;
}
